package com.example.myProxy;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class MyController {

    @Autowired
    MyInterface myInterface;

    @GetMapping(value = "/test")
    public String test(){
        String test = myInterface.test("1", 2);
        System.out.println(test);
        List<String> list = myInterface.testa("ss");
        System.out.println(list);
        return test;
    }


}
